<?php
$info_message = "	
	<script>
	$(function() {
		// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
		$( '#dialog:ui-dialog' ).dialog( 'destroy' );
	
		$( '#dialog-message' ).dialog({
			modal: true,
			buttons: {
				Ok: function() {
					$( this ).dialog( 'close' );
				}
			}
		});
	});
	</script>

<div id='dialog-message' title='".$title."'>
	<p>
		".$content."
	</p>
</div>	
";
?>